<?php
$jobdetails = $_['jobdetails'];
?>
<div id="persontestbody" class="rulesbody">
   <div class="set_quence_content">
      <div class="successuploadfile">
         <div class="uploadfile_title">
         <?php 
            if($_['persontest_details']){
               echo '<b>已选评测：</b><span>'.$_['persontest_details']->title.'</span><i class="removetest"></i>';
            }  else {
               echo '<b></b>请在以下测试中选择一个';
            }
         ?></div>
         <div class="jobpersontestbox clearfix">
            <form id="persontestform" name="persontestform" action="<?php echo OC_Helper::linkToRoute("jobpos_savepersontest"); ?>" method="post">
            <?php foreach($_['persontestinfo'] as $i=>$item): ?>
            
            <div class="persontesteachone <?php echo isset($item->jobid) ? 'selected' : ''; ?> pull-left">
               <div class="personimg"><i></i><em class="person_small_<?=$item->id?>"></em></div>
               <div class="personname"><a href="javascript:;"><?=$item->title?></a>
               
                  <div class="hr_position_top5" id="persontext_detail" style="display:none;">
                     <div class="hr_position_top5inner">
                        <div class="hr_top5uppoint"></div>
                        <div class="p_txtinfo medium"><?=$item->description?></div>
                     </div>
                  </div>
                  
               </div>
               <span class="sheetid" style="display:none;"><?=$item->id?></span>
            </div>
            <?php endforeach; ?>
             <input type="hidden" name="persontestsheet" value="">
             <input type="hidden" name="job_id" value="<?=$jobdetails->id?>">
             <input type="hidden" name="requesttoken" value="<?php echo $_['requesttoken'] ?>" id="requesttoken">
            </form>
         </div>
      </div>
   </div>
</div>